package com.oa.system.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ApprovalNodeDetails {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "审批流程表id")
    private Long approvalPlanId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty("抄送人(1-审批人 2-抄送人)")
    private Integer type;

    @ApiModelProperty(value = "审批人类型（1-主管 2-指定用户）")
    private Integer handlerType;

    @ApiModelProperty(value = "主管（1-直接主管 2-二级主管）")
    private Integer governor;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty("用户详情列表")
    private List<UserDetailsVO> approvalNodeUsers;
}
